package com.lh.common.entity.admin;

import com.lh.common.enums.ActivityStatusEnum;
import com.lh.common.enums.PeriodStatusEnum;
import com.lh.common.enums.UserTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.ibatis.type.Alias;

import javax.persistence.Column;
import javax.persistence.Id;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * @author FH
 * @ClassName:ActivityShopDetails
 * @Description: (类作用)
 * @date: 2020-05-14 15:09
 */
@Alias("activityShopDetails")
@Data
public class ActivityShopDetails implements Serializable {

    @ApiModelProperty(value = "")
    @Id
    private Long aid;

    @ApiModelProperty(value = "活动名称")
    private String activityName;

    @ApiModelProperty(value = "期数状态 PROCESSING:进行中; REVEALED:已揭晓")
    private PeriodStatusEnum status;

    @ApiModelProperty(value = "活动状态 NOTSTARTED:未开始; UNDERWAY:进行中; FINISH:已结束")
    private ActivityStatusEnum activityStatus;

    @ApiModelProperty(value = "筹集人次")
    private String portionNum;

    @ApiModelProperty(value = "活动周期 (秒)")
    private String activityCycle;

    @ApiModelProperty(value = "活动价格")
    private BigDecimal shopActivityPrice;

    @ApiModelProperty(value = "盈利金额")
    private BigDecimal profitAmount;

    @ApiModelProperty(value = "活动开始时间 ")
    private Date activityStartTime;

    @ApiModelProperty(value = "商品ID")
    private Long shopId;

    @ApiModelProperty(value = "商品名称")
    private String shopName;

    @ApiModelProperty(value = "商品图片")
    private String shopImg;

    @ApiModelProperty(value = "商品价格")
    private BigDecimal shopPrice;

    @ApiModelProperty(value = "商品成品价")
    private BigDecimal shopSingleprice;

    @ApiModelProperty(value = "期数")
    private String period;

    @ApiModelProperty(value = "中奖码")
    private String code;

    @ApiModelProperty(value = "用户名")
    private String name;

    @ApiModelProperty(value = "类型  GENERAL:普通用户  ROBOT: 机器人")
    private UserTypeEnum type;

    @ApiModelProperty(value = "用户电话")
    private String phone;

    @ApiModelProperty(value = "订单号")
    private String orderItem;
}
